package org.xyl.game.service;

import org.springframework.transaction.annotation.Transactional;
import org.xyl.game.dto.InquireRoomRet;

public interface RoomService {
    @Transactional
    String createRoom(String username);
    @Transactional
    boolean joinRoom(int roomid, String username, String team);

    @Transactional
    InquireRoomRet inquireRoom(int roomid);
}
